import com.sun.xml.internal.ws.api.ha.StickyFeature;

/**
 * Created by zby on 2018/3/25.
 */
class 类人猿 {
    void crySpeak(String s) {
        System.out.println(s);
    }
}

class People3 extends 类人猿 {
    void compuer(int a, int b) {
        int c = a * b;
        System.out.println(c);
    }

    void crySpeak(String s) {
        System.out.println("***" + s + "***");
    }
}

public class Example5_10 {
    public static void main(String[] args) {
        类人猿 monkey;
        People3 geng = new People3();
        monkey = geng;
        monkey.crySpeak("I love this game");
        People3 people = (People3) monkey;
        people.compuer(10, 10
        );
    }
}
